import request from '@/utils/request'

export function getPrintList(query) {
  return request({
    url: '/logistics/prints/getList',
    method: 'post',
    data: query
  })
}

export function getPrintDetail(id) {
  return request({
    url: '/logistics/prints/getDetail',
    method: 'post',
    data: id 
  })
}

export function savePrint(id) {
  return request({
    url: '/logistics/prints/save',
    method: 'post',
    data: id
  })
}

export function removePrintByID(id) {
  return request({
    url: '/logistics/prints/delete',
    method: 'post',
    data: id
  })
}

export function changePrintStatusByID(id) {
  return request({
    url: '/logistics/prints/change-status',
    method: 'post',
    data: id
  })
}

